package com.shemy.sshiro.dao;
import com.shemy.sshiro.domain.SysRole;
import org.apache.ibatis.annotations.Param;
import java.util.List;

import com.shemy.sshiro.domain.SysMenu;

/**
 *  菜单Mapper
 * @author Dzsom
 * @date 2019-05-09 10:56
 */
public interface SysMenuMapper {
    int deleteByPrimaryKey(Integer menuId);

    int insert(SysMenu record);

    int insertSelective(SysMenu record);

    SysMenu selectByPrimaryKey(Integer menuId);

    int updateByPrimaryKeySelective(SysMenu record);

    int updateByPrimaryKey(SysMenu record);

    List<SysMenu> findAllByRoles(List<SysRole> roles);


}